package com.unicom.vw.modules.sys.service.impl;

import com.unicom.vw.modules.sys.dao.GetversionsDao;
import com.unicom.vw.modules.sys.entity.GetversionsEntity;
import com.unicom.vw.modules.sys.service.GetversionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("getversionsService")
public class GetversionsServiceImpl implements GetversionsService {

    @Autowired
    private GetversionsDao getversionsDao;

    @Override
    public GetversionsEntity queryObject(Integer id){
        return getversionsDao.queryObject(id);
    }

    @Override
    public List<GetversionsEntity> queryList(Map<String, Object> map){
        return getversionsDao.queryList(map);
    }

    @Override
    public List<GetversionsEntity> getAll(Map<String, Object> map){
        return getversionsDao.getAll(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map){
        return getversionsDao.queryTotal(map);
    }

    @Override
    public int queryTotal_two(Map<String, Object> map){
        return getversionsDao.queryTotal_two(map);
    }


    @Override
    public void save(GetversionsEntity getversions){
        getversionsDao.save(getversions);
    }

    @Override
    public void update(GetversionsEntity getversions){
        getversionsDao.update(getversions);
    }

    @Override
    public void delete(Integer id){
        getversionsDao.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids){
        getversionsDao.deleteBatch(ids);
    }

}
